// 请先登录按钮
.noRegister {
    position: absolute;
    top: 40%;
    right: 35%;
    border-radius: .5rem;
    text-align: center;
    display: inline-block;
    color: aliceblue;
    font-size: 1.5rem;
    background-color: #f40;
    width: 30%;
    height: 4rem;
    line-height: 4rem;
}

// 登录后页面
.hadRegister {
    position: relative;
    // 购物车上部分
    .up {
        // 全选栏
        .theAll {
            position: relative;
            line-height: 3rem;
            .all {
                position: absolute;
                left: 3%;
                top: 25%;
            }
            .allWord {
                font-size: 2rem;
                margin-left: 10%;
            }
        }
        // 选择按钮
        .choose {
            width: 1.5rem;
            height: 1.5rem;
            border: 1px solid #999;
            border-radius: 50%;
            .chooseed {
                margin: .25rem;
                width: 1rem;
                height: 1rem;
                background-color: green;
                border-radius: 50%;
            }
        }
        // 购物车列表
        .cartList {
            // 每一个商品
            .cartOne {
                padding: 3%;
                background-color: aliceblue;
                margin-bottom: 1rem;
                position: relative;
                .choose {
                    position: absolute;
                    top: 40%;
                }
                .imgdep {
                    display: inline-block;
                    width: 8rem;
                    height: 8rem;
                    position: relative;
                    margin-left: 10%;
                    // 商品图
                    img {
                        width: 8rem;
                        height: 8rem;
                    }
                    // 直降
                    .depreciate {
                        color: aliceblue;
                        background-color: #f40;
                        font-size: 1.5rem;
                        position: absolute;
                        bottom: 0;
                        right: 0;
                    }
                }
                // 商品名称以及加购数量
                .nameNum {
                    margin-left: 3%;
                    position: absolute;
                    top: 14%;
                    height: 8rem;
                    display: inline-block;
                    // 标题
                    .title {
                        top: 0;
                        color: green;
                        font-size: 1.5rem;
                    }
                    // 单价
                    .price {
                        width: 160%;
                        position: absolute;
                        bottom: 8%;
                        // 现价
                        .currentPrice {
                            display: inline-block;
                            font-size: 2rem;
                            color: #f40;
                        }
                        // 原价
                        .originalPrice {
                            display: inline-block;
                            div {
                                text-indent: 5px;
                                color: #999;
                                background: linear-gradient(5deg, transparent 40.5%, #888 40.5%, #888 51.5%, transparent 51.5%);
                            }
                        }
                    }
                    // 加购数量
                    .num {
                        float: right;
                        color: #f40;
                        font-size: 2rem;
                    }
                }
                // 删除商品
                .delete {
                    width: 2.5rem;
                    height: 2.5rem;
                    position: absolute;
                    right: 10%;
                    top: 60%;
                }
            }
        }
    }
    // 弹出框背景变暗
    .black {
        margin: 0;
        position: fixed;
        bottom: -1px;
        width: 100%;
        background-color: rgba($color: #000000, $alpha: .5);
        height: 10000px;
        // 删除确定弹出框
        .Delete {
            overflow: hidden;
            background-color: aliceblue;
            width: 70%;
            height: 16rem;
            position: fixed;
            top: 30%;
            left: 15%;
            text-align: center;
            font-size: 2rem;
            border-radius: 1rem;
            // 询问字
            .ifDelete {
                padding: 5rem 0;
                width: 100%;
                border-bottom: #999 solid 1px;
            }
            // 询问按钮
            .deleteYes,
            .deleteNo {
                line-height: 3.5rem;
                display: inline-block;
                width: 49.7%;
                height: 4rem;
            }
            .deleteYes {
                border-right: #999 solid 1px;
            }
            .deleteNo {
                float: right;
                background-color: green;
                color: aliceblue;
            }
        }
    }
    // 下部分结算栏
    .down {
        padding: 4%;
        width: 100%;
        position: fixed;
        bottom: 48px;
        font-size: 1.8rem;
        border-top: #f40 solid .1rem;
        background-color: aliceblue;
        // 合计金额
        .moneySum {
            color: #f40;
        }
        // 原价
        .originalPrice {
            color: #999;
            margin-left: 1rem;
            font-size: 1rem;
            background: linear-gradient(5deg, transparent 40.5%, #888 40.5%, #888 51.5%, transparent 51.5%);
        }
        // 合计件数
        .numSum {
            font-size: 1.5rem;
            color: #888;
        }
    }
    // 结算按钮
    .input {
        font-size: 2rem;
        float: right;
        background-color: #f40;
        padding: 4%;
        color: aliceblue;
        position: fixed;
        bottom: 46px;
        right: 0;
    }
}
